package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bdqn.membersystem.mapper.AfficheMapper;
import com.bdqn.membersystem.pojo.Affiche;
import com.bdqn.membersystem.servicce.AfficheService;
@Service
public class AfficheServiceImpl implements AfficheService{

    @Resource
    private AfficheMapper afficheMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return afficheMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(Affiche record) {
        return afficheMapper.insertSelective(record);
    }

    @Override
    public Affiche selectByPrimaryKey(Long id) {
        return afficheMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Affiche record) {
        return afficheMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<Affiche> list) {
        return afficheMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<Affiche> list) {
        return afficheMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(Affiche record) {
        return afficheMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(Affiche record) {
        return afficheMapper.insertOrUpdateSelective(record);
    }

}
